<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class LoggerHierarchy</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class LoggerHierarchy</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This class is specialized in retrieving loggers by name and also maintaining the logger hierarchy.</p>
<p class="description"><p>The casual user does not have to deal with this class directly.</p><p>The structure of the logger hierarchy is maintained by the  getLogger method. The hierarchy is such that children link  to their parent but parents do not have any pointers to their  children. Moreover, loggers can be instantiated in any order, in  particular descendant before ancestor.</p><p>In case a descendant is created before a particular ancestor,  then it creates a provision node for the ancestor and adds itself  to the provision node. Other descendants of the same ancestor add  themselves to the previously created provision node.</p><p></p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Marco Vassura</li>
				<li><span class="field">version:</span> $Revision: 556801 $</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_LoggerHierarchy.php.html">/LoggerHierarchy.php</a> (line <span class="field">46</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																																																																																<div class="var-title">
					<span class="var-type">boolean</span>
					<a href="#$debug" title="details" class="var-name">$debug</a>
				</div>
																<div class="var-title">
					<span class="var-type">object currently</span>
					<a href="#$defaultFactory" title="details" class="var-name">$defaultFactory</a>
				</div>
																<div class="var-title">
					<span class="var-type">boolean</span>
					<a href="#$emittedNoAppenderWarning" title="details" class="var-name">$emittedNoAppenderWarning</a>
				</div>
																<div class="var-title">
					<span class="var-type">boolean</span>
					<a href="#$emittedNoResourceBundleWarning" title="details" class="var-name">$emittedNoResourceBundleWarning</a>
				</div>
																<div class="var-title">
					<span class="var-type">array</span>
					<a href="#$ht" title="details" class="var-name">$ht</a>
				</div>
																<div class="var-title">
					<span class="var-type"><a href="../log4php/or/LoggerRendererMap.html">LoggerRendererMap</a></span>
					<a href="#$rendererMap" title="details" class="var-name">$rendererMap</a>
				</div>
																<div class="var-title">
					<span class="var-type"><a href="../log4php/LoggerRoot.html">LoggerRoot</a></span>
					<a href="#$root" title="details" class="var-name">$root</a>
				</div>
																<div class="var-title">
					<span class="var-type"><a href="../log4php/LoggerLevel.html">LoggerLevel</a></span>
					<a href="#$threshold" title="details" class="var-name">$threshold</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																																																																																																				<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#singleton" title="details" class="method-name">singleton</a>
										()
									</div>
								
												<div class="method-definition">
											<span class="method-result">LoggerHierarchy</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											(<span class="var-type">object</span>&nbsp;<span class="var-name">$root</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#addHierarchyEventListener" title="details" class="method-name">addHierarchyEventListener</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$listener</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#addRenderer" title="details" class="method-name">addRenderer</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$classToRender</span>, <span class="var-type"><a href="../log4php/or/LoggerObjectRenderer.html">LoggerObjectRenderer</a></span>&nbsp;<span class="var-name">$or</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#clear" title="details" class="method-name">clear</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#emitNoAppenderWarning" title="details" class="method-name">emitNoAppenderWarning</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$cat</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">boolean</span>
										<a href="#exists" title="details" class="method-name">exists</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#fireAddAppenderEvent" title="details" class="method-name">fireAddAppenderEvent</a>
											(<span class="var-type"><a href="../log4php/Logger.html">Logger</a></span>&nbsp;<span class="var-name">$logger</span>, <span class="var-type"><a href="../log4php/LoggerAppender.html">LoggerAppender</a></span>&nbsp;<span class="var-name">$appender</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getCurrentCategories" title="details" class="method-name">getCurrentCategories</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">array</span>
										<a href="#getCurrentLoggers" title="details" class="method-name">getCurrentLoggers</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../log4php/Logger.html">Logger</a></span>
										<a href="#getLogger" title="details" class="method-name">getLogger</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, [<span class="var-type"><a href="../log4php/spi/LoggerFactory.html">LoggerFactory</a></span>&nbsp;<span class="var-name">$factory</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../log4php/Logger.html">Logger</a></span>
										<a href="#getLoggerByFactory" title="details" class="method-name">getLoggerByFactory</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$factory</span>)
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../log4php/or/LoggerRendererMap.html">LoggerRendererMap</a></span>
										<a href="#getRendererMap" title="details" class="method-name">getRendererMap</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../log4php/LoggerRoot.html">LoggerRoot</a></span>
										<a href="#getRootLogger" title="details" class="method-name">getRootLogger</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../log4php/LoggerLevel.html">LoggerLevel</a></span>
										<a href="#getThreshold" title="details" class="method-name">getThreshold</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">boolean</span>
										<a href="#isDisabled" title="details" class="method-name">isDisabled</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$level</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#overrideAsNeeded" title="details" class="method-name">overrideAsNeeded</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$override</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#resetConfiguration" title="details" class="method-name">resetConfiguration</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setDisableOverride" title="details" class="method-name">setDisableOverride</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$override</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setRenderer" title="details" class="method-name">setRenderer</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$renderedClass</span>, <span class="var-type">LoggerRenderer</span>&nbsp;<span class="var-name">$renderer</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setThreshold" title="details" class="method-name">setThreshold</a>
											(<span class="var-type"><a href="../log4php/LoggerLevel.html">LoggerLevel</a></span>&nbsp;<span class="var-name">$l</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#shutdown" title="details" class="method-name">shutdown</a>
										()
									</div>
																</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$debug" id="$debug"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">boolean</span>
			<span class="var-name">$debug</span>
			 = <span class="var-default"> false</span>			(line <span class="line-number">57</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> activate internal logging</li>
				<li><span class="field">see:</span> <a href="../log4php/LoggerLog.html">LoggerLog</a></li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$defaultFactory" id="$defaultFactory"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">object currently</span>
			<span class="var-name">$defaultFactory</span>
						(line <span class="line-number">51</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> unused</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$emittedNoAppenderWarning" id="$emittedNoAppenderWarning"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">boolean</span>
			<span class="var-name">$emittedNoAppenderWarning</span>
			 = <span class="var-default"> false</span>			(line <span class="line-number">82</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> currently unused</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$emittedNoResourceBundleWarning" id="$emittedNoResourceBundleWarning"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">boolean</span>
			<span class="var-name">$emittedNoResourceBundleWarning</span>
			 = <span class="var-default"> false</span>			(line <span class="line-number">87</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> currently unused</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$ht" id="$ht"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array</span>
			<span class="var-name">$ht</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">62</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> hierarchy tree. saves here all loggers</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$rendererMap" id="$rendererMap"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type"><a href="../log4php/or/LoggerRendererMap.html">LoggerRendererMap</a></span>
			<span class="var-name">$rendererMap</span>
						(line <span class="line-number">72</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$root" id="$root"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type"><a href="../log4php/LoggerRoot.html">LoggerRoot</a></span>
			<span class="var-name">$root</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">67</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$threshold" id="$threshold"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type"><a href="../log4php/LoggerLevel.html">LoggerLevel</a></span>
			<span class="var-name">$threshold</span>
						(line <span class="line-number">77</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> main level threshold</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodsingleton" id="singleton"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method singleton</span> (line <span class="line-number">89</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			singleton
		</span>
				()
			</div>
	
		
			
	</div>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">102</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Create a new logger hierarchy.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">LoggerHierarchy</span>
		<span class="method-name">
			__construct
		</span>
					(<span class="var-type">object</span>&nbsp;<span class="var-name">$root</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">object</span>
				<span class="var-name">$root</span><span class="var-description">: the root logger</span>			</li>
				</ul>
		
			
	</div>
<a name="methodaddHierarchyEventListener" id="addHierarchyEventListener"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">addHierarchyEventListener</span> (line <span class="line-number">116</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add a HierarchyEventListener event to the repository.</p>
<p class="description"><p>Not Yet Impl.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addHierarchyEventListener
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$listener</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$listener</span>			</li>
				</ul>
		
			
	</div>
<a name="methodaddRenderer" id="addRenderer"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">addRenderer</span> (line <span class="line-number">126</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add an object renderer for a specific class.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addRenderer
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$classToRender</span>, <span class="var-type"><a href="../log4php/or/LoggerObjectRenderer.html">LoggerObjectRenderer</a></span>&nbsp;<span class="var-name">$or</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$classToRender</span>			</li>
					<li>
				<span class="var-type"><a href="../log4php/or/LoggerObjectRenderer.html">LoggerObjectRenderer</a></span>
				<span class="var-name">$or</span>			</li>
				</ul>
		
			
	</div>
<a name="methodclear" id="clear"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">clear</span> (line <span class="line-number">134</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This call will clear all logger definitions from the internal hashtable.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			clear
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodemitNoAppenderWarning" id="emitNoAppenderWarning"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">emitNoAppenderWarning</span> (line <span class="line-number">139</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			emitNoAppenderWarning
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$cat</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$cat</span>			</li>
				</ul>
		
			
	</div>
<a name="methodexists" id="exists"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">exists</span> (line <span class="line-number">149</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Check if the named logger exists in the hierarchy.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			exists
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span>			</li>
				</ul>
		
			
	</div>
<a name="methodfireAddAppenderEvent" id="fireAddAppenderEvent"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">fireAddAppenderEvent</span> (line <span class="line-number">159</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Not Implemented.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			fireAddAppenderEvent
		</span>
					(<span class="var-type"><a href="../log4php/Logger.html">Logger</a></span>&nbsp;<span class="var-name">$logger</span>, <span class="var-type"><a href="../log4php/LoggerAppender.html">LoggerAppender</a></span>&nbsp;<span class="var-name">$appender</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../log4php/Logger.html">Logger</a></span>
				<span class="var-name">$logger</span>			</li>
					<li>
				<span class="var-type"><a href="../log4php/LoggerAppender.html">LoggerAppender</a></span>
				<span class="var-name">$appender</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetCurrentCategories" id="getCurrentCategories"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getCurrentCategories</span> (line <span class="line-number">167</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">deprecated:</span> Please use <a href="../log4php/LoggerHierarchy.html#methodgetCurrentLoggers">getCurrentLoggers()</a> instead.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getCurrentCategories
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetCurrentLoggers" id="getCurrentLoggers"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getCurrentLoggers</span> (line <span class="line-number">176</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns all the currently defined categories in this hierarchy as an array.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			getCurrentLoggers
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetLogger" id="getLogger"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getLogger</span> (line <span class="line-number">188</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return a new logger instance named as the first parameter using the default factory.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../log4php/Logger.html">Logger</a></span>
		<span class="method-name">
			getLogger
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, [<span class="var-type"><a href="../log4php/spi/LoggerFactory.html">LoggerFactory</a></span>&nbsp;<span class="var-name">$factory</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: logger name</span>			</li>
					<li>
				<span class="var-type"><a href="../log4php/spi/LoggerFactory.html">LoggerFactory</a></span>
				<span class="var-name">$factory</span><span class="var-description">: a <a href="../log4php/spi/LoggerFactory.html">LoggerFactory</a> instance or null</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetLoggerByFactory" id="getLoggerByFactory"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getLoggerByFactory</span> (line <span class="line-number">204</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return a new logger instance named as the first parameter using the default factory.</p>
	<ul class="tags">
				<li><span class="field">todo:</span> merge with <a href="../log4php/LoggerHierarchy.html#methodgetLogger">getLogger()</a></li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../log4php/Logger.html">Logger</a></span>
		<span class="method-name">
			getLoggerByFactory
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$factory</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: logger name</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$factory</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetRendererMap" id="getRendererMap"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getRendererMap</span> (line <span class="line-number">233</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">return:</span> Get the renderer map for this hierarchy.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../log4php/or/LoggerRendererMap.html">LoggerRendererMap</a></span>
		<span class="method-name">
			getRendererMap
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetRootLogger" id="getRootLogger"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getRootLogger</span> (line <span class="line-number">241</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">return:</span> Get the root of this hierarchy.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../log4php/LoggerRoot.html">LoggerRoot</a></span>
		<span class="method-name">
			getRootLogger
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetThreshold" id="getThreshold"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getThreshold</span> (line <span class="line-number">251</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">return:</span> Returns the threshold Level.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../log4php/LoggerLevel.html">LoggerLevel</a></span>
		<span class="method-name">
			getThreshold
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodisDisabled" id="isDisabled"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">isDisabled</span> (line <span class="line-number">261</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This method will return true if this repository is disabled  for level object passed as parameter and false otherwise.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			isDisabled
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$level</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$level</span>			</li>
				</ul>
		
			
	</div>
<a name="methodoverrideAsNeeded" id="overrideAsNeeded"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">overrideAsNeeded</span> (line <span class="line-number">269</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">deprecated:</span> Deprecated with no replacement.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			overrideAsNeeded
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$override</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$override</span>			</li>
				</ul>
		
			
	</div>
<a name="methodresetConfiguration" id="resetConfiguration"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">resetConfiguration</span> (line <span class="line-number">289</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Reset all values contained in this hierarchy instance to their  default.</p>
<p class="description"><p>This removes all appenders from all categories, sets  the level of all non-root categories to <em>null</em>,  sets their additivity flag to <em>true</em> and sets the level  of the root logger to LOGGER_LEVEL_DEBUG.  Moreover,  message disabling is set its default &quot;off&quot; value.</p><p>&lt;p&gt;Existing categories are not removed. They are just reset.</p><p>&lt;p&gt;This method should be used sparingly and with care as it will  block all logging until it is completed.&lt;/p&gt;</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			resetConfiguration
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodsetDisableOverride" id="setDisableOverride"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setDisableOverride</span> (line <span class="line-number">310</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">deprecated:</span> Deprecated with no replacement.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setDisableOverride
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$override</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$override</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetRenderer" id="setRenderer"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setRenderer</span> (line <span class="line-number">321</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Used by subclasses to add a renderer to the hierarchy passed as parameter.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setRenderer
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$renderedClass</span>, <span class="var-type">LoggerRenderer</span>&nbsp;<span class="var-name">$renderer</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$renderedClass</span><span class="var-description">: a LoggerRenderer class name</span>			</li>
					<li>
				<span class="var-type">LoggerRenderer</span>
				<span class="var-name">$renderer</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetThreshold" id="setThreshold"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setThreshold</span> (line <span class="line-number">331</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">set a new threshold level</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setThreshold
		</span>
					(<span class="var-type"><a href="../log4php/LoggerLevel.html">LoggerLevel</a></span>&nbsp;<span class="var-name">$l</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../log4php/LoggerLevel.html">LoggerLevel</a></span>
				<span class="var-name">$l</span>			</li>
				</ul>
		
			
	</div>
<a name="methodshutdown" id="shutdown"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">shutdown</span> (line <span class="line-number">351</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Shutting down a hierarchy will <em>safely</em> close and remove all appenders in all categories including the root logger.</p>
<p class="description"><p>Some appenders such as LoggerSocketAppender  need to be closed before the  application exists. Otherwise, pending logging events might be  lost.</p><p>The shutdown method is careful to close nested  appenders before closing regular appenders. This is allows  configurations where a regular appender is attached to a logger  and again to a nested appender.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			shutdown
		</span>
				()
			</div>
	
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.2</a>
	</p>
	</div></body>
</html>